<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
.box{
            position: relative;
            margin: 50px auto;
            width: 200px;
            height: 300px;
            overflow: hidden;
        }
        .box>.pic_intro{
            position: absolute;
            left: 0;
            top: 300px;
            width: 200px;
            height: 120px;
            background-color: rgba(0,0,0,.3);
            transition: all 1s linear;
        }
        .box>.pic_intro>h3{
            margin: 10px;
            color: #ffffff;
        }
        .box>.pic_intro>p{
            margin: 10px;
            color: #ffffff;
        }
        .box:hover .pic_intro{
            top:180px;
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="./banner01.jpg" alt="图片说明">
        <div class="pic_intro">
            <h3>文字标题</h3>
            <p>图片说明文字图片说明文字图片说明文字</p>
        </div>
</body>
</html> 